package com.xu.service;

import com.github.pagehelper.PageInfo;
import com.xu.pojo.Course;
import org.quartz.SchedulerException;

import java.util.Date;
import java.util.List;

public interface SelectService {

    String setSelectTime(Date startTime, Date endTime); //设置选课时间
    long[] getSeSelectTime();  //读取选课时间
    boolean isPrepareCourse();
    int getStock(int courseId);
    List<Course> SetStock(List<Course> courses);
    PageInfo<Course> SetStock(PageInfo<Course> courses);
    long getremainSeconds();
    int getSelectState();
    String selectCourse(int userId,int courseId);
    String dropCourse(int userId,int courseId);
    List<Course> getUserCourse(int userId);

}
